<a href="javascript:(function(){e=encodeURIComponent;w=window;d=document;l=location;u='http://<%=request.env['HTTP_HOST']%>/annorations/new?u='+e(l.href)+'&t='+e(d.title);w.onerror=function(){l.href=u;};dgs=d.getSelection;gs=w.getSelection;c=gs?gs():dgs?dgs():d.selection?d.selection.createRange().text:'';if(c==''){de=d.getElementsByName('Description');c=de&&de[0]?c=de[0].content:''}u=u+'&c='+e(c);l.href=u;})()">annorate</a>